Load Elimination in the Presence of Side Effects, Concurrency and Precise Exceptions
نویسندگان
چکیده
Partial redundancy elimination can reduce the number of loads corresponding to field and array accesses in Java programs. The reuse of values loaded from memory at subsequent occurrences of load expressions must be done with care: Precise exceptions and the potential of side effects through method invocations and concurrent modifications in multi-threaded programs must be considered. This work focuses on the effect of concurrency on the load optimization. Unlike previous approaches, our system determines accurate information about side effects and concurrency through a whole-program analysis. Partial redundancy elimination is extended to exploit this information and to broaden the optimization scope. There are three main results: (1) Load elimination is effective even in the most conservative variant without side effect and concurrency analysis (avg. dynamic reduction of loads 21.1%, max. 55.6%). (2) Accurate side effect information can significantly increase the number of optimized expressions (avg. dynamic reduction of loads 26.4%, max. 66.1%). (3) Information about concurrency can make the optimization independent of the memory model, enables aggressive optimization across synchronization statements, and improves the number of optimization opportunities compared to an uninformed optimizer that is guided by a (weak) memory model (avg. dynamic reduction of loads 30.1%, max. 70.3%).
منابع مشابه
Feasibility study of presenting a dynamic stochastic model based on mixed integer second-order conic programming to solve optimal distribution network reconfiguration in the presence of resources and demand-side management
Nowadays, with the use of devices such as fossil distributed generation and renewable energy resources and energy storage systems that are operated at the level of distribution networks, the problem of optimal reconfiguration has faced major challenges, so any change in the power of this resources can have different results in reconfiguration. Similarly, load changes during the day can lead to ...
متن کاملControl and stability improvement of combined wind-battery system with permanent magnet synchronous generator supplying active load
This paper deals with the control and stability enhancement of a wind power generation system feeding active load with constant power characteristic. The under study system is a combined wind-battery generation system with permanent magnet synchronous generator (PMSG) supplying active load by using interfaced power electronics converters. The employed active load is indeed an active rectifier b...
متن کاملA Survey of Concurrency Control Algorithms in the Operating Systems
Concurrency control is one of the important problems in operation systems. Various studies have been reported to present different algorithms to address this problem, although a few attempts have been made to represent an overall view of the characteristics of these algorithms and comparison of their capabilities to each other. This paper presents a survey of the current methods for controlling...
متن کاملOptimal mathematical operation of a hybrid microgrid in islanded mode for improving energy efficiency using deep learning and demand side management
Deep learning method is used to predict the future value of load demand. Based on obtained results, a new model based on the forward-backward load shifting and unnecessary load shedding is presented. As well, to increase energy efficiency, excess renewable energy has been used to produce green hydrogen. For this purpose, GAMS optimization software has been used for optimal operation of the micr...
متن کاملConflict Exceptions: Providing Simple Parallel Language Semantics with Precise Hardware Exceptions
We argue in this paper that concurrency errors should be treated as exceptions, i.e., have fail-stop behavior and precise semantics. We propose an exception model based on conflict of synchronization-free regions, which precisely detects a broad class of data-races. We show that our exceptions provide enough guarantees to simplify high-level programming language semantics and debugging, but are...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003